import Request from "./request";

//获取登录接口
export function getLogin(phone, password, captcha) {
  return Request({
    url: "/login/cellphone",
    params: {
      phone,
      password,
      captcha,
    },
  });
}

//获取验证码
export function getCaptcha(phone) {
  return Request({
    url: "/captcha/sent",
    params: {
      phone,
    },
  });
}
